home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / DUMPIT.ZIP / DUMPIT.HLP (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1996-03-20  |  70.6 KB  |  350 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. About DUMPIT ΓòÉΓòÉΓòÉ
  3.  
  4.                                      DUMPIT
  5.  
  6.                         An NNTP Binary Retrieval Program
  7.  
  8.                            Version 1.0, February 1996
  9.  
  10.                              Written by: M. Klakken
  11.              Copyright C 1995,1996 M. Klakken, All Rights Reserved.
  12.  
  13. The program DUMPIT allows an unattended, selectable retrieval from a NNTP news 
  14. server.  Along with allowing various NNTP servers to be selected, the program 
  15. allows any newsgroup to be selected for download. The program downloads any 
  16. news item that meets the download criteria selected by the user.  Various types 
  17. of files are allowed to be downloaded including JPG, GIF, MPG, AVI, and BMP. 
  18. All files downloaded are recorded in a database so the same files will not be 
  19. downloaded from different newsgroups and/or servers.  The download status is 
  20. shown during download and the download can be stopped at any time without 
  21. losing the current download status.  Any sequential files (e.g. 1/3, 2/3, 3/3) 
  22. will be accordingly recorded up to a maximum of 32 files.  This limit will be 
  23. increased in the next revision. 
  24.  
  25. Once the files have been downloaded, the user can then select to decode the 
  26. files.  The program can decode the three main formats: 
  27.  
  28.    1. UUDECODE 
  29.    2. XXDECODE 
  30.    3. BASE64 
  31.  
  32.  The decoding status is shown on the screen and can be stopped at any time. 
  33.  
  34.  After the downloaded files have been decoded, the database must be "updated". 
  35.  This means that all the internal files used by the program for download file 
  36.  storage that have been properly decoded will be marked as decoded and then 
  37.  deleted from the hard drive.  This process will not delete the actual decoded 
  38.  files, though (don't worry).  Any file not decoded will be saved unless the 
  39.  number of times tried to decode or the number of days past download has 
  40.  exceeded some user defined limit.  At this time the internal file(s) will be 
  41.  deleted and removed from the database.  The user can also edit the database 
  42.  file to remove any unwanted files that have been found cluttering the hard 
  43.  drive. 
  44.  
  45.  Program Requirements 
  46.  
  47.      OS/2 Version 2.0 or greater 
  48.      TCP/IP Version 2.0 or greater 
  49.      Access to a NNTP News Server 
  50.  
  51.  BUGS (those nasty varmits) 
  52.  
  53.  Since you are using this program, I assume that you have access to the 
  54.  Internet.  So, if you find any bugs or something that would make the program 
  55.  more user friendly, please e-mail me your suggestions/bug list along the 
  56.  Internet to me at: 
  57.  
  58.   klakken@intele.net
  59.  
  60.  
  61.  I believe this program is free from all bugs! This does not imply no possible 
  62.  problems since every machine is different, but it does imply that I spent many 
  63.  hours trying to perfect this program. 
  64.  
  65.  Now For The Lawyer Stuff 
  66.  
  67.  Unless otherwise stated in writing the program DUMPIT is distributed "AS IS" 
  68.  without a warranty of any kind, either expressed or implied, including, but 
  69.  not limited to, the implied warranties of use for a particular function or 
  70.  usage.  You assume the entire risk for the use and installation of the program 
  71.  DUMPIT and all associate files. 
  72.  
  73.  In no event will M. Klakken be responsible in any way for the behavior of 
  74.  DUMPIT. In no event will M. Klakken and or any other party who may 
  75.  redistribute DUMPIT, be liable to you for damages, including lost profits or 
  76.  other special, incidental or consequential damages arising out of the use or 
  77.  inability to use (including but not limited to loss of data or data being 
  78.  rendered inaccurate or losses sustained by third parties or a failure of the 
  79.  program to operate with any other programs) DUMPIT, even if M. Klakken has 
  80.  been advised of the possibility of such damages, or for any claim by another 
  81.  party. 
  82.  
  83.  Wow, the things that you have to say to try to protect yourself. 
  84.  
  85.  
  86. ΓòÉΓòÉΓòÉ 2. Why Register ΓòÉΓòÉΓòÉ
  87.  
  88. This program is considered shareware, not freeware.  The main reason for this 
  89. requirement is to help cover programming costs such as having to purchase the 
  90. IBM C++ compiler and the help compiler.  It will also help justify to the wife 
  91. why I spent that many hours in front of the computer writing this program and 
  92. not spending that time with her.  This program has not been specially modified 
  93. for the shareware version compared to the registered version. I can not promise 
  94. any new releases but if one is released, it will have more options and will be 
  95. free only for the registered users.  Thanks for trying this program and I hope 
  96. that you will register. 
  97.  
  98. As mentioned above, this program is considered shareware, not freeware.  I, as 
  99. the author give everyone the right to freely use this program for 30 days. 
  100. After that time a registration fee must be paid to the author if the program is 
  101. to be used anymore.  If after the 30 day trial period, the program is deemed 
  102. useless or unworthy, then all versions of the program should be removed from 
  103. their storage mediums. On the other hand, if the program has some redeeming 
  104. value, then send $20 dollars (payable to M. Klakken in US Funds only please) 
  105. to: 
  106.  
  107.       M. Klakken 
  108.       P.O. Box 18415 
  109.       Kearns, UT  84118 
  110.  
  111.  
  112. ΓòÉΓòÉΓòÉ 3. File Menu ΓòÉΓòÉΓòÉ
  113.  
  114. This is the main panel for the general setup and file configuration for the 
  115. program DUMPIT.  Within this section the NNTP server is defined, the newsgroups 
  116. for downloading is selected, the allowable file types to be downloaded is 
  117. selected, and files that save the above information is generated. 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 3.1. File Save As ΓòÉΓòÉΓòÉ
  121.  
  122. You will select the SAVEAS menu to save and name the NNTP server and newsgroups 
  123. file.  The file can be any name but the extension should be DMP since that 
  124. extension is the default used by the OPEN command. 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 3.2. File Open ΓòÉΓòÉΓòÉ
  128.  
  129. The OPEN command is used to retrieve the NNTP server and selected newsgroups 
  130. from the disk.  There is only one file format that can be input into DUMPIT and 
  131. that is the special format created by the program.  No Ascii input is allowed 
  132. at this time. 
  133.  
  134. When the OPEN command is selected, the following dialog box will be visible 
  135. waiting for input. 
  136.  
  137. All files with the extension DMP will be shown in the FILE section with the 
  138. filename of "*.DMP" shown in the OPEN FILENAME section.  The current directory 
  139. and drive are shown DIRECTORY and DRIVE section, respectively, with all 
  140. sections changeable. 
  141.  
  142.  
  143. ΓòÉΓòÉΓòÉ 3.3. File Save ΓòÉΓòÉΓòÉ
  144.  
  145. To use the NNTP server and selected newsgroups information, the information 
  146. must first be saved.  The File Save panel is similar to the File Open panel. 
  147. The file save format is automatically set to the DUMPIT specific format.  The 
  148. name shown in the Save Filename section is the name that the file was initially 
  149. saved as previously (unless this is the first time to save at which time the 
  150. file name will be "*.DMP" allowing the user to choose a file from the list or 
  151. type in a new name). 
  152.  
  153.  
  154. ΓòÉΓòÉΓòÉ 3.4. Logging ΓòÉΓòÉΓòÉ
  155.  
  156. The LOGGING section allows the user to save most errors/warnings to a file 
  157. named "DUMPIT.LOG" (i.e. when the logging switch is checked) or will show the 
  158. errors/warnings in a messagebox on the screen.  The file is appended with the 
  159. errors/warnings that are considered as none system critical.  The default is 
  160. with the logging file checked. 
  161.  
  162.  
  163. ΓòÉΓòÉΓòÉ 3.5. Server Configuration ΓòÉΓòÉΓòÉ
  164.  
  165. In the Server Configuration section, the user is allowed to input the port 
  166. number used to communicate with the NNTP server and the server name to attach 
  167. with.  The dialog box seen on the screen is shown below. 
  168.  
  169. The port is shown in the NNTP PORT window.  The default value is 119. The 
  170. server name is input in the SERVER NAME window.  Since everyone might have a 
  171. different server there is no default name.  To exit, just push the ENTER key or 
  172. click on DONE or CANCEL.  Done keeps all information entered while cancel exits 
  173. by resetting to previous settings. 
  174.  
  175.  
  176. ΓòÉΓòÉΓòÉ 3.6. Newsgroup Configuration ΓòÉΓòÉΓòÉ
  177.  
  178. The Newsgroup Configuration section allows the user to select the newsgroups 
  179. that the binary files will be downloaded from.  Below is shown the dialog box 
  180. seen on the screen when Newsgroup Configuration is selected from the menu. 
  181.  
  182. All entered newsgroups will be shown in the Newsgroup listbox.  Also in the 
  183. listbox is the index value of the last item downloaded.  If the user is unsure 
  184. or if in initial setup, the value input should be 0 (zero). When zero is 
  185. entered, DUMPIT will ask the NNTP server what the first item number that is 
  186. currently on the server and then use the previous index as the last item 
  187. downloaded. 
  188.  
  189. The pushbuttons on the right complete different operations.  The DONE button 
  190. exits while keeping the entered information and CANCEL will exit and reset to 
  191. the previous information.  The DELETE pushbutton will remove the currently 
  192. selected newsgroup from the listbox.  If no newsgroup is selected, then an 
  193. error will occur and ask the user to select a newsgroup. The INSERT and EDIT 
  194. pushbuttons will create another dialog box to allow the user to insert after 
  195. the currently selected newsgroup or edit the currently selected newsgroup. 
  196.  
  197.  
  198. ΓòÉΓòÉΓòÉ <hidden> Input Newsgroup ΓòÉΓòÉΓòÉ
  199.  
  200. Once a newsgroup has been selected in the listbox and the INSERT or EDIT 
  201. pushbutton has been clicked, the Input Newsgroup dialog box is shown on the 
  202. screen.  This dialog box is shown below: 
  203.  
  204. The newsgroup name is shown in the NEWSGROUP edit window.  If the edit key was 
  205. selected, the name of the newsgroup will be shown in the window while if input 
  206. was selected then the message "Subscribed Group Here" will be shown in the 
  207. window.  Just erase (using the backspace or delete key) the text to remove/edit 
  208. and enter the new newsgroup name.  The LAST  MESSAGE OBTAINED edit window will 
  209. show the last item that was downloaded from the NNTP server.  The default value 
  210. is 0 (i.e. will obtain from the server that first allowed item).  The DONE 
  211. pushbutton will exit the dialog box while keeping the information and the 
  212. CANCEL button will exit while resetting to the previous information. 
  213.  
  214.  
  215. ΓòÉΓòÉΓòÉ 3.7. Allowable File Types ΓòÉΓòÉΓòÉ
  216.  
  217. This dialog box will be shown when the Allowable File Type is selected from the 
  218. menu.  The following dialog box will be shown on the screen waiting for the 
  219. user to select the file types to be downloaded from the NNTP server and the 
  220. selected newsgroups. 
  221.  
  222. The file types that are checked will be downloaded from the NNTP server while 
  223. the unchecked types will be past by in the downloading decision. These are the 
  224. only file types that are allowed to be downloaded at the present time.  The 
  225. file type is found from the SUBJECT line in the newsgroup header.  For example, 
  226. assume that the subject line is: 
  227.  
  228. This is a trial (junk.jpg [1/1]) 
  229.  
  230. Then, DUMPIT will decide that the file name is JUNK.JPG with an extension JPG. 
  231. If NO extension is on the subject line, then no download will occur on that 
  232. newsgroup item.  Also, if the JPG file type was checked and that the newsgroup 
  233. item was not previously downloaded, then that item will be downloaded. 
  234.  
  235.  
  236. ΓòÉΓòÉΓòÉ 3.8. System exit ΓòÉΓòÉΓòÉ
  237.  
  238. There are two ways to exit the program DUMPIT.  The best way is to select the 
  239. menu item FILE and then select EXIT.  This will save all information by 
  240. completing an orderly shutdown.  The other way is to select the system button 
  241. on the top left of the window and then select close.  This will accomplish the 
  242. same type of shutdown as selecting EXIT from the FILE menu. 
  243.  
  244.  
  245. ΓòÉΓòÉΓòÉ 4. Downloading Files ΓòÉΓòÉΓòÉ
  246.  
  247. When the Downloading choice from the menu is selected, a status dialog box is 
  248. placed on the screen as shown below: 
  249.  
  250. This dialog box shows the status of the download in progress.  The scroll bar 
  251. shows the completed percentage of downloaded files in one newsgroup. The 
  252. subject section shows the subject line of the current file being downloaded. 
  253. This field will be blank if no file has currently meet the required selection 
  254. criteria.  The newsgroup currently being processed is shown in the Newsgroup 
  255. field.  Below the Subject field, the article number and the total number of 
  256. articles to be downloaded from the specific newsgroup are shown.  The download 
  257. can be stopped at any time by pushing the button ESCAPE.  When the button is 
  258. pressed, the download will be terminated at the next step and the current 
  259. status will be saved. 
  260.  
  261.  
  262. ΓòÉΓòÉΓòÉ 5. Translating the Database ΓòÉΓòÉΓòÉ
  263.  
  264. When the Translating choice from the menu is selected, a status dialog box is 
  265. placed on the screen as shown below: 
  266.  
  267. This dialog box shows the status of the translation in progress.  The scroll 
  268. bar shows the completed percentage of translated files in the whole database. 
  269. The current file section shows the current file being processed if one is being 
  270. processed.  The field will be blank if no file currently meets the required 
  271. selection criteria.  The translation process can be stopped at any time by 
  272. pushing the button ESCAPE.  When the button is pressed, the translation process 
  273. will be terminated at the next step and the current status will be saved. 
  274.  
  275.  
  276. ΓòÉΓòÉΓòÉ 6. Cleanup Menu ΓòÉΓòÉΓòÉ
  277.  
  278. The Cleanup section is used to remove all files from the DUMPIT database once 
  279. these files have been translated (otherwise known as decoded).  The database 
  280. file is used to hopefully eliminate the possibility of downloading the same 
  281. file twice (or more). 
  282.  
  283.  
  284. ΓòÉΓòÉΓòÉ 6.1. Setup For CleanUp ΓòÉΓòÉΓòÉ
  285.  
  286. For the Cleanup to work properly, several items need to be known.  You do not 
  287. want to keep the files that have not correctly translated around forever so a 
  288. limit should be selected.  This dialog box (shown below) allows the user to set 
  289. the number of translate trials and the number of days from downloading to 
  290. translating before the files will be deleted from the database file and the 
  291. storage medium. 
  292.  
  293. The number of days before the file is removed is entered in the top field. The 
  294. default value is 20 days.  This means that after 20 days after the file was 
  295. downloaded, the file will be removed from the database and disk. The next field 
  296. is the number of translation trials to pass before the file is removed in the 
  297. same manner as before.  The default number of trials is 10. 
  298.  
  299.  
  300. ΓòÉΓòÉΓòÉ 6.2. Updating the Database ΓòÉΓòÉΓòÉ
  301.  
  302. When the Updating choice from the menu is selected, a status dialog box is 
  303. placed on the screen as shown below: 
  304.  
  305. This dialog box shows the status of the cleanup in progress.  The scroll bar 
  306. shows the completed percentage of cleanup files in the whole database. The 
  307. current file section shows the current file being processed if one is being 
  308. processed.  The field will be blank if no file currently meets the required 
  309. selection criteria.  The cleanup process can be stopped at any time by pushing 
  310. the button ESCAPE.  When the button is pressed, the cleanup process will be 
  311. terminated at the next step and the current status will be saved. 
  312.  
  313.  
  314. ΓòÉΓòÉΓòÉ 6.3. Editing the Database ΓòÉΓòÉΓòÉ
  315.  
  316. The database file can be edited with the Edit Database menu choice. When the 
  317. menu choice is selected, a small dialog box is first shown to allow the user to 
  318. choose to edit Decoded or Non-Decoded files in the database.  This dialog box 
  319. is labeled CleanUp Choices.  Once the choice is checked and after several 
  320. seconds, the edit dialog box will appear. The dialog box will appear similar as 
  321. shown below: 
  322.  
  323. Within the FileName listbox, all files that meet the previous choice criteria 
  324. will be shown.  Also shown will be the number that the file is saved on the 
  325. disk as (e.g. 00000001.002, where 1 would be the file number and 2 is the 
  326. sequence number), the number of translation trials and number of days after 
  327. downloading, and if the file has been decoded. 
  328.  
  329. As the dialog box name implies, the database can be edited.  To delete a file 
  330. from the database just click on the file in the listbox and then select the 
  331. pushbutton DELETE.  A messagebox will then appear to verify the file deletion 
  332. and if deletion is affirmative, the file will be removed from the database and 
  333. the disk.  The DONE button will exit the dialog box while recording the changes 
  334. and CANCEL will exit without recording the changes.  IMPORTANT: IF A FILE HAS 
  335. BEEN DELETED AND THE CANCEL BUTTON IS PRESSED, THE FILE WILL REMAIN DELETED 
  336. SINCE IT HAS BEEN REMOVED FROM THE DISK.  The DECODE button presently just 
  337. marks a file as decoded so when the cleanup process is started, that file will 
  338. be removed from the disk but will remain in the database so that file will not 
  339. be downloaded again. 
  340.  
  341.  
  342. ΓòÉΓòÉΓòÉ <hidden> Choices for Database Editing ΓòÉΓòÉΓòÉ
  343.  
  344. There are three choices for the database editing listing, show DECODED files, 
  345. NON-DECODED files, or ALL FILES.  When the Edit Database choice is selected 
  346. from the menu, the Choices dialog box will appear.  This box is shown below: 
  347.  
  348. To make your selection, just click on your choice and then the pushbutton DONE. 
  349. Or if the user wants to exit without editing, just push the button CANCEL. 
  350. After DONE is pressed, the Edit Database dialog box will appear.